package model.entities;

import java.util.Collection;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;

import model.dtos.XMLFile;

@Entity
@DiscriminatorValue("8")
public class DepositoCentral extends Area
{
	@OneToMany
	@JoinColumn(name="idArea")
	private Collection<ItemMercaderia> stock;
	
	@OneToOne
	@JoinColumn(name="idResponsable")
	private Empleado responsable;

	public static void generarInformeReposicion()
	{
		// TODO Auto-generated method stub

	}

	public static void solicitarInsumos(int idArticulo, int cantidad, int idSolicitante,
			int idResponsable)
	{
		// TODO Auto-generated method stub

	}

	public Collection<ItemMercaderia> controlarMercaderia()
	{
		// TODO
		return null;
	}

	public void descartarInsumos(Collection<ItemMercaderia> items)
	{
		// TODO
	}

	public XMLFile generarInformeInsumosRecibidos()
	{
		// TODO
		return null;
	}

	public Collection<ItemMercaderia> getStock()
	{
		return stock;
	}

	public void setStock(Collection<ItemMercaderia> stock)
	{
		this.stock = stock;
	}

	public Empleado getResponsable()
	{
		return responsable;
	}

	public void setResponsable(Empleado responsable)
	{
		this.responsable = responsable;
	}
}
